package com.yunc.common.web.exception;

import com.yunc.common.core.result.IResultCode;
import lombok.Getter;

@Getter
public class SecurityException extends RuntimeException {

    public IResultCode resultCode;

    public SecurityException(String code, String message) {
        super(message);
    }

    public SecurityException(String message){
        super(message);
    }

    public SecurityException(String message, Throwable cause){
        super(message, cause);
    }

    public SecurityException(Throwable cause){
        super(cause);
    }
}
